package com.novoda.runbuddy.util;

import java.util.Calendar;

import android.content.Context;
import android.database.Cursor;

import com.novoda.runbuddy.model.Run;
import com.novoda.runbuddy.model.ListOfRuns;
import com.novoda.runbuddy.model.ListOfRuns;

public interface IDBHelper {

	public static final String	TAG	= "DBHelper";

	public void createJoggingEntriesDB(Context ctx);

	public void close();

	public void addRunEntry(Run entry);

	public void deleteJogEntry(long Id);

	public ListOfRuns fetchAllJogEntries();
	
	public ListOfRuns fetchAllRunEntries();

	public ListOfRuns fetchAllTodaysRunEntries();

	public ListOfRuns fetchAllThisMonthsJogEntries(Calendar calendar);

	public void updateJogEntry(long Id, Run entry);

	public Cursor getCursorOfAllRuns();

	public ListOfRuns fetchAllJogEntries(Integer day, Integer month, Integer year);

	public ListOfRuns fetchAllRunEntries(Integer day, Integer month, Integer year);

}
